package com.teacher;
public class Car {
    String brand;
    String model;
    String color;
    double price;
    public void show(){
        System.out.println("品牌:"+brand);
        System.out.println("型号:"+model);
        System.out.println("颜色:"+color);
        System.out.println("价格:"+price);
    }
    public void go(){
        System.out.println("前进");
    }
    public void back(){
        System.out.println("后退");
    }


}
